package my.diplom.dao;

import my.diplom.entity.Role;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gb
 * Date: 14.07.2009
 * Time: 14:51:31
 * To change this template use File | Settings | File Templates.
 */
public interface IRoleDAO {

    void create(Role role);
	void update(Role role);
	List<Role> getAll();
	Role getById(Long roleId);
	Role getByName(String roleName);
	void delete(Role role);
}
